package com.nenglai.admin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * 数据配置
 *
 * @author kongdehui
 * @date 2021/05/20 09:50
 **/
@Configuration
@PropertySource({"classpath:application.properties", "classpath:application-dev.properties", "classpath:application-prod.properties"})
@ConfigurationProperties(prefix = "report")
@Data
public class ReportConfiguration {
    private String hostUrl;
    private String templatePath;
    private String downloadPath;
}
